import request from '@/utils/request'

export default {
  //登录
  login(user){
    return request({
      url: `ucenter/ucenter-member/login`,
      method: 'post',
      data:user
    })
  },
  //获取用户信息
  getUserInfo(){
    return request({
      url: `ucenter/ucenter-member/getUserInfo`,
      method: 'get'
    })
  }
}
